package com.xindong.paking.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_parking_lot")
public class ParkingLot implements Serializable {

    //停车场id
    private Integer id;
    //停车场名称
    private String name;
    //停车场描述
    private String des;
    //单价
    private Float unitPrice;
    //停车位总数
    private Integer parkTotal;
    //空闲车位数量
    private Integer parkReQuatity;
    //充电桩总数量
    private Integer chargTotal;
    //充电桩可用数量
    private Integer chargReQuatity;
    //状态码
    private String status;
    //创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    //创建人
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    //更新时间
    private String createUser;
    //更新人
    private String updateUser;


}
